package com.example.mapper;

import com.example.entity.po.Teaching;
import com.example.entity.vo.PlaceClassroom;
import com.example.entity.vo.TeachingVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeachingMapper {
    //展示授课表
    List<TeachingVo> queryTeaching();
    //增加授课信息
    int addTeaching(Teaching teaching);
    //删除授课信息
    int deleteTeaching(int teachingId);
    //根据授课名称对授课信息进行模糊搜索
    List<TeachingVo> fuzzyTeaching(String teachingName);
}
